package model.user;

/**
 * Created with IntelliJ IDEA.
 * UserActions: Tom
 * Date: 5-2-14
 * Time: 20:36
 */
public class User {

    private String email;
    private String password;
    private String first_name;
    private String last_name;

    public User(String email, String password, String first_name, String last_name){
        setEmail(email);
        setPassword(password);
        setFirst_name(first_name);
        setLast_name(last_name);
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFirst_name() {
        return first_name;
    }

    public void setFirst_name(String first_name) {
        this.first_name = first_name;
    }

    public String getLast_name() {
        return last_name;
    }

    public void setLast_name(String last_name) {
        this.last_name = last_name;
    }

    public String toPrintStr(){
        return "User: " +
                "Email: " + email + " " +
                "First name: " + first_name + " " +
                "Last name: " + last_name + " " +
                "Password: " + password + " ";
    }

    public String getFullName(){
        return first_name + " " + last_name;
    }

}
